package cn.iocoder.yudao.module.dr.controller.admin.message.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 消息发布 Response VO")
@Data
@ExcelIgnoreUnannotated
public class MessageRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "19728")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "标题")
    @ExcelProperty("标题")
    private String msgTitle;

    @Schema(description = "内容")
    @ExcelProperty("内容")
    private String msgContent;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}